package com.gnerv.business.platform.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gnerv.business.platform.entity.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gnerv
 * @since 2018-06-28
 */
public interface UserMapper extends BaseMapper<User> {

    Integer updateByUserId(User user);

    List<User> listUserByAttributes(User user);

    List<User> listUserByDeptId(String deptId);
}
